﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Operacion;

namespace Resta
{
    public class Resta : InterfaceOperacion
    {
        /// <summary>
        /// Resta dos elementos
        /// </summary>
        /// <param name="a"></param> minuendo
        /// <param name="b"></param> sustraendo
        /// <returns></returns> la resta entre a y b.
        public int operar(int a, int b)
        {
            return a - b;
        }
        public char getSimbolo()
        {
            return '-';
        }
    }
}
